package cn.edu.hnnu.a.rentacar.beans;

import java.io.Serializable;

public class Cars implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String carNumber;
	private String carType;
	private String carColor;
	private int carPrice;
	private int carRentPrice;
	private int deposit;
	private String carDescription;
	private String isRenting;
	private String carRdesc;

	public Cars() {
		super();
	}

	public Cars(int carId, String carNumber, String carType,
			String carColor, int carPrice, int carRentPrice,
			int deposit, String carDescription, String isRenting, String carRdesc) {
		super();
		this.carNumber = carNumber;
		this.carType = carType;
		this.carColor = carColor;
		this.carPrice = carPrice;
		this.carRentPrice = carRentPrice;
		this.deposit = deposit;
		this.carDescription = carDescription;
		this.isRenting = isRenting;
		this.carRdesc = carRdesc;
	}


	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public String getCarColor() {
		return carColor;
	}

	public void setCarColor(String carColor) {
		this.carColor = carColor;
	}

	public int getCarPrice() {
		return carPrice;
	}

	public void setCarPrice(int carPrice) {
		this.carPrice = carPrice;
	}

	public int getCarRentPrice() {
		return carRentPrice;
	}

	public void setCarRentPrice(int carRentPrice) {
		this.carRentPrice = carRentPrice;
	}

	public int getDeposit() {
		return deposit;
	}

	public void setDeposit(int deposit) {
		this.deposit = deposit;
	}

	public String getCarDescription() {
		return carDescription;
	}

	public void setCarDescription(String carDescription) {
		this.carDescription = carDescription;
	}

	
	public String getIsRenting() {
		return isRenting;
	}

	public void setIsRenting(String isRenting) {
		this.isRenting = isRenting;
	}

	public String getCarRdesc() {
		return carRdesc;
	}
	
	
	@Override
	public String toString() {
		return "Car [ carNumber=" + carNumber
				+ ", carType=" + carType + ", carColor=" + carColor
				+ ", carPrice=" + carPrice + ", carRentPrice=" + carRentPrice
				+ ", deposit=" + deposit + ", carDescription=" + carDescription
				+ "]";
	}


	public void setCarRdesc(String carRdesc) {
		this.carRdesc = carRdesc;
	}

}
